<html> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base target="_self"/>
<title>查看员工</title> 
<script src="/public/javascripts/jquery-1.4.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="/public/javascripts/fast.js" type="text/javascript" charset="utf-8"></script>
<script src="/public/javascripts/autocomplete.js" type="text/javascript" charset="utf-8"></script>
<script src="/public/javascripts/alt.js" type="text/javascript" charset="utf-8"></script>
<script src="/public/javascripts/HashMap.js" type="text/javascript" charset="utf-8"></script>
<script src="/public/javascripts/My97DatePicker/WdatePicker.js" type="text/javascript" charset="gb2312"></script>
<link rel="stylesheet" type="text/css" media="screen" href="/public/stylesheets/list_style.css">
<script type="text/javascript"> 
$(function(){
	$(".row").mouseover(function(){
		$(this).attr("bgColor","#FFD74E");
	});
	$(".row").mouseout(function(){
		$(this).attr("bgColor","#ffffff");
	});
});
 
</script>
 
</head> 
<body  style="overflow: auto;">
<div class="form">
<fieldset style="border: 1px solid #808080;">
	<legend>员工信息</legend>
	
		<div class="field" style="width: 49%;">
	<label for="object_username">
		用户名:
	</label>
	<label style="font-weight: normal;">${object.username}</label>
		</div>
	
		<div class="field" style="width: 49%;">
	<label for="object_truename">
		真实姓名:
	</label>
	<label style="font-weight: normal;">${object.truename}</label>
		</div>
	
		<div class="field" style="width: 49%;">
	<label for="object_sex">
		性别:
	</label>
	<select id="object_sex" name="object.sex">
	<option value="男" #{if object.sex == "男"} selected="true" #{/if}>男</option>
	<option value="女" #{if object.sex == "女"} selected="true" #{/if}>女</option>
	</select>
		</div>



		<div class="field" style="width: 49%;">
	<label for="object_email">
		电子邮件:
	</label>
	<label style="font-weight: normal;">${object.email}</label>
		</div>
	
		<div class="field" style="width: 49%;">
	<label for="object_tel">
		联系电话:
	</label>
	<label style="font-weight: normal;">${object.tel}</label>
		</div>
	
		<div class="field" style="width: 49%;">
	<label for="object_mobile">
		移动电话:
	</label>
	<label style="font-weight: normal;">${object.mobile}</label>
		</div>
	
		<div class="field" style="width: 49%;">
	<label for="object_cornet">
		短号:
	</label>
	<label style="font-weight: normal;">${object.cornet}</label>
		</div>
	
		<div class="field" style="width: 49%;">
	<label for="object_login">
		登入次数:
	</label>
	<label style="font-weight: normal;">${object.login}</label>
		</div>
	
		<div class="field" style="width: 49%;">
	<label for="object_status">
		状态:
	</label>
	<select id="object_status" name="object.status">
	<option value="1" #{if object.status == 1} selected="true" #{/if}>启用</option>
	<option value="2" #{if object.status == 2} selected="true" #{/if}>停用</option>
	</select>
		</div>
	
	<div class="field" style="width: 49%;">
		#{field "object.depart"}
		<label for="${field.id}">部门:</label>
		#{relation_tree oid:field.id,oname:field.name,ovalue:field.value ,sql:'from Depart where flag=1 order by id' /}
		#{/field}
	</div>
	
	<div class="field" style="width: 99%;">
	<label for="object_remark"> 备注:</label>
	<textarea id="object_remark" cols="30" rows="5" class="txt01 " name="object.remark"></textarea>
	<span class="info"></span>
	</div>
	
</fieldset>
<br />
<fieldset style="border: 1px solid #808080;">
	<legend>权限信息</legend>

<div class="field" style="width: 49%;">
	<label for="object_role">
		权限:
	</label>
	<select id="object_role" name="object.role">
	#{list role,as:'row'}
	<option value="${row.id}" #{if row.id == object.role.id} selected="selected" #{/if}>${row.name}</option>
	#{/list}
	</select>
</div>
</fieldset>
<p class="buttons">
	<input type="button" name="_close" value="关闭" class="btn01 option_close"/> 
</p>
</div>
</body> 
</html>